package cn.lingyangwl.agile.system.mapper;

import cn.lingyangwl.agile.system.model.entity.SysAccessLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * 操作日志 数据层
 * 
 * @author shenguangyang
 */
@Mapper
public interface SysAccessLogMapper extends BaseMapper<SysAccessLog> {
    /**
     * 清空操作日志
     */
    @Update("truncate table sys_access_log")
    void cleanLog();
}
